using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using RenderLib;

namespace CSharpOpenGL
{
    public partial class Form1 : Form
    {
        Renderer renderer;

        public Form1( )
        {
            InitializeComponent( );
            renderer = new Renderer( this );
        }

        protected override void OnPaint( PaintEventArgs e )
        {
            base.OnPaint( e );

            renderer.Render( );
        }

    }
}